#ifndef POULTRY_H
#define POULTRY_H

//#include "object.h"
#include "egg.h"
#include "shit.h"
#include <ctime>

class Poultry:public Object
{
public:

    Poultry();
    QSize getSize();

    clock_t nextProductionTime;
    void changeDirection();
    void resetTime(int timeLen);
    Product *produce(int line,int timeLen);
    int direction;
    QRegion getRegion();
};

#endif // POULTRY_H
